<?php echo $this->doctype() ?>
<html>
    <head>
        <style>
            .ulMenu li{
                float: none;
                display: block;
            }
            .linkMenu{
                color:white;
            }
        </style>
        <?
        echo $this->headTitle();
        echo $this->headMeta();
        echo $this->headStyle();
        echo $this->headLink();
        if ($this->jQuery()->isEnabled()) {
            echo $this->jQuery();
        }
        echo $this->headScript()
                ->appendFile('/theme/default/js/modules/pedido.js');
        ?>
    </head>
    <body>
        <div class="divHeader">
            <div class="row-fluid">
                <div class="navbar-fixed-top">
                    <div class="logoff">
                        <img alt="foto" class="image" src="/theme/default/imgs/choop_cuo.jpg" width="30" height="30" style="float: left;"/>
                        <!--<div class="logoViePeq"></div>-->
                        <h1>PubZaria &raquo; <?= $this->title ?></h1>
                        <a class="btn btn-small logout" href="<?= $this->url(array('module' => 'login', 'controller' => 'login', 'action' => 'logout')) ?>"> Sair</a>

                        <p><strong><?=$this->mask()->getNameUserLogado(); ?></strong></p>
                    </div>
                </div>
            </div>
        </div>
        <div class="divBody">
            <div id="divContent" class="divContent">
                <div class="content-left nav navbar-static nav-tabs nav-stacked">
                    <div class="navbar-fixed menu">
                        <ul class="ulMenu">
                            <li><a  class="linkMenu" href="/reserva/consulta">Reservas</a></li>
                            <li><a  class="linkMenu" href="/pedido/consulta">Realizar Pedidos</a></li>
                            <li><a  class="linkMenu" href="/pedido/lista">Lista de Pedidos</a></li>
                            <li><a  class="linkMenu" href="/produto/consulta">Lista de Produtos</a></li>
                            <li><a  class="linkMenu" href="/estoque/consulta">Lista do Estoque Mínimo</a></li>
                        </ul>
                    </div>
                </div>
                <div class="content-right conteudoPrincipal">
                    <?php $this->mensagens()->getMensagens(); ?>
                    <div class="formularios">
                        <h2><?= $this->title ?></h2>
                        <br/>
                        <?= $this->layout()->content; ?>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>
